<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <%@ include file="/common/meta.jsp" %>
    <link rel="stylesheet" type="text/css" href="${ctx}/js/lib/validate/validate.css">
    <script type="text/javascript" src="${ctx}/js/lib/validate/jquery.validate.min.js"></script>
    <script type="text/javascript" src="${ctx}/js/lib/validate/jquery.validate.common_rules.js"></script>
    <script type="text/javascript" src="${ctx}/js/lib/validate/messages_cn.js"></script>

    <script type="text/javascript" src="${ctx}/js/gcu/money/edit.js"></script>
</head>
<body>
<div>
    <ul class="breadcrumb">
        <li class="icon"></li>
        <li>您所在的位置：</li>
        <li>系统管理</li>
        <li>业主管理</li>
        <li>物业费收缴</li>
    </ul>
    <%@ include file="/common/top.jsp" %>
    <div class="widget widget-table">
        <div class="widget-content" id="formDiv">
            <form>
                <input type="hidden" name="ownerId" value="${ownerId}"/>
            </form>
        </div>
    </div>
</div>
</body>
</html>
<script type="text/template" id="moneyTem">
    <div class="widget-content" id="_editDiv">
        <table class="pn-ftable table-bordered" border="0" cellpadding="10">
            <tbody class="_edit">
            <input type="hidden" name="id" value="<@=money.id@>"/>
            <tr>
                <th colspan="2" style="text-align:center;">业主信息:</th>
            </tr>
            <tr>
                <th><span class="point">*</span>业主姓名：</th>
                <td class="pn-fcontent form-inline">
                    <input type="text"   class="form-control" value="<@=owner.ownerName@>"disabled/>
                </td>
            </tr>
            <tr>
                <th><span class="point">*</span>楼宇信息：</th>
                <td class="pn-fcontent form-inline">
                    <input type="text" name="buildName" maxlength="50" class="form-control" value="<@=owner.buildName@>"disabled/>
                </td>
            </tr>
            <tr>
                <th><span class="point">*</span>门户号：</th>
                <td class="pn-fcontent form-inline">
                    <input type="text" name="roomNum" maxlength="50" class="form-control" value="<@=owner.roomNum@>"disabled/>
                </td>
            </tr>
            <tr>
                <th colspan="2" style="text-align:center;">缴费情况：</th>
            </tr>
            <tr>
                <th><span class="point">*</span>创建时间：</th>
                <td class="pn-fcontent form-inline">
                    <input type="text" name="createTime" maxlength="50" class="form-control"
                           value="<@=money.createTime@>"disabled/>
                </td>
            </tr>
            <tr>
                <th><span class="point">*</span>物业费(年/元)：</th>
                <td class="pn-fcontent form-inline">
                    <input type="text" name="payMoney" maxlength="50" class="form-control" value="<@=money.payMoney@>"/>
                </td>
            </tr>
            <tr>
                <th><span class="point">*</span>开始日期：</th>
                <td class="pn-fcontent form-inline">
                    <input type="text" id="startDate" name="payBeginTime" readonly="readonly" value="<@=money.payBeginTime@>"
                           class="form-control" onclick="WdatePicker({startDate:'%y-%M-%d 00:00:00',readOnly:true,dateFmt:'yyyy-MM-dd HH:mm:ss', maxDate:'#F{$dp.$D(\\\'endDate\\\')}'})" />
                </td>
            </tr>
            <tr>
                <th><span class="point">*</span>结束日期：</th>
                <td class="pn-fcontent form-inline">
                    <input type="text" id="endDate" name="payEndTime" readonly="readonly" value="<@=money.payEndTime@>"
                           class="form-control" onclick="WdatePicker({startDate:'%y-%M-%d 00:00:00',
                           readOnly:true,dateFmt:'yyyy-MM-dd HH:mm:ss', maxDate:'#F{$dp.$D(\\\'endDate\\\')}'})"  />
                </td>
            </tr>
            <tr>
                <td class="pn-fcontent text-center" colspan="2">
                    <button type="button" class="btn btn-info" id="saveBtn">保存</button>
                    <button type="button" class="btn btn-default" id="backBtn">返回</button>
                </td>
            </tr>
            </tbody>
        </table>
    </div>
</script>